package xyz.zcq.example_springboot_provider.service;

import org.springframework.stereotype.Service;
import xyz.zcq.example.common.model.User;
import xyz.zcq.example.common.service.UserService;
import xyz.zcq.zcqrpc.springboot.start.annotation.RpcServer;

@RpcServer
@Service
public class UserServiceImpl implements UserService {

    @Override
    public User getUser(User user) {
        System.out.println("用户名：" + user.getName());
        return user;
    }

}
